package com.example.demojava.service;

import com.example.demojava.entity.Sample;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface SampleService {
    Sample createSample(Sample sample);

    Page<Sample> findAll(Pageable pageable);

    Sample findById(Long id);

    Sample updateSample(Long id, Sample sample);

    void deleteSample(Long id);
}